package com.itheima.service.mongo;

import com.itheima.domain.mongo.RecommendUser;
import com.itheima.vo.PageBeanVo;

public interface RecommendUserService {
    //根据登录用户id查询推荐给我的缘分值最高的用户
    RecommendUser findMaxScoreByUserId(Long userId);

    //根据登录用户id分页查询推荐给我的用户
    PageBeanVo findRecommendUser(Long userId, Integer pageNum, Integer pageSize);
    //根据userId和toUserId查询
    RecommendUser findByuserIdAndToUserId(Long userId, Long id);
}